<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:output method="html"/>
	<xsl:template match="footerLinks">
		<xsl:for-each select="category">
			<xsl:variable name="index" select="position()"/>
			<ul class="list col-{$index}">
				<li><xsl:value-of select="catName"/></li>
				<xsl:for-each select="link">
					<xsl:variable name="href" select="href"/>
					<xsl:variable name="target" select="./@target"/>
					<li><a href="{$href}" target="{$target}"><xsl:value-of select="label"/></a></li>
				</xsl:for-each>
			</ul>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>
